using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Serialization;

namespace Edmx.Storage
{
    [DebuggerDisplay("Name={Name}")]
    [XmlType(AnonymousType = true, Namespace = EdmxConstants.StorageSchemaNamespace)]
    public class AssociationSet : MetadataEntityBase<AssociationSet>
    {
        [XmlElement("End")]
        public List<AssociationSetEnd> End { get; set; }

        [XmlAttribute("Name")]
        public string Name { get; set; }

        [XmlAttribute("Association")]
        public string Association { get; set; }
    }
}